package com.example.demo.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * entity：场次
 * @author Administrator
 *
 */
public class Round implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 5775707297364174433L;

	private Integer id;

    private Integer mid;
    
    private String mname;
    
    private Integer yid;

    private String pstart;

    private String pend;

    private BigDecimal pprice;

    private Integer ytid;
    
    private String ytname; 

    private String ytlayout;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public Integer getYid() {
		return yid;
	}

	public void setYid(Integer yid) {
		this.yid = yid;
	}




	public BigDecimal getPprice() {
		return pprice;
	}

	public void setPprice(BigDecimal pprice) {
		this.pprice = pprice;
	}

	public Integer getYtid() {
		return ytid;
	}

	public void setYtid(Integer ytid) {
		this.ytid = ytid;
	}

	public String getYtname() {
		return ytname;
	}

	public void setYtname(String ytname) {
		this.ytname = ytname;
	}

	public String getYtlayout() {
		return ytlayout;
	}

	public void setYtlayout(String ytlayout) {
		this.ytlayout = ytlayout;
	}

	public Round(Integer id, Integer mid, String mname, Integer yid, String pstart, String pend,
			BigDecimal pprice, Integer ytid, String ytname, String ytlayout) {

		this.id = id;
		this.mid = mid;
		this.mname = mname;
		this.yid = yid;
		this.pstart = pstart;
		this.pend = pend;
		this.pprice = pprice;
		this.ytid = ytid;
		this.ytname = ytname;
		this.ytlayout = ytlayout;
	}

	public Round(Integer id, Integer mid, Integer yid, String pstart, String pend, BigDecimal pprice, Integer ytid,
			String ytlayout) {
		this.id = id;
		this.mid = mid;
		this.yid = yid;
		this.pstart = pstart;
		this.pend = pend;
		this.pprice = pprice;
		this.ytid = ytid;
		this.ytlayout = ytlayout;
	}

	public Round() {
		
	}

	@Override
	public String toString() {
		return "Round [id=" + id + ", mid=" + mid + ", mname=" + mname + ", yid=" + yid + ", pstart=" + pstart
				+ ", pend=" + pend + ", pprice=" + pprice + ", ytid=" + ytid + ", ytname=" + ytname + ", ytlayout="
				+ ytlayout + "]";
	}

	public String getPstart() {
		return pstart;
	}

	public void setPstart(String pstart) {
		this.pstart = pstart;
	}

	public String getPend() {
		return pend;
	}

	public void setPend(String pend) {
		this.pend = pend;
	}

    
}